package com.ynu.springbootappdemo.model.dto.User;

import com.ynu.springbootappdemo.common.constant.UserConstant;
import com.ynu.springbootappdemo.model.dto.file.UploadFileRequest;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.multipart.MultipartFile;

@Setter
@Getter
public class RegisterDTO extends UploadFileRequest {
    private String userPhone;
    private String userName;
    private String password;
    private String userAvatar;
    private String userRole = UserConstant.DEFAULT_ROLE;
    public RegisterDTO(MultipartFile file, String biz) {
        super(file, biz);
    }
}
